package com.qfedu.dao;

import com.qfedu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserDao {


    /**
     * 根据账号和密码查询学生
     * @param no
     * @param password
     * @return
     */
    @Select("select * from t_user where no = #{no} and password = #{password}")
    List<User> findUserByNoAndPassword(@Param("no") String no,@Param("password") String password);


}
